package cn.iocoder.yudao.module.system.framework.attach.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

@ConfigurationProperties(prefix = "yudao.attach")
@Data
@Validated
public class AttachProperties {

    /**
     * 附件上传路径
     */
    @NotNull(message = "附件上传路径不能为空！")
    private String path;

    /**
     * xmind模板文件位置
     */
    @NotNull(message = "xmind模板文件位置不能为空！")
    private String xmindTmpFilePath;

}
